package com.rzj.sys_lab_assistant.dao;

import com.rzj.sys_lab_assistant.entity.RecruitmentPlan;
import com.rzj.sys_lab_assistant.entity.bo.RecruitmentPlanBO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @program: sys_lab_assistant
 * @description:
 * @author: 作者
 * @create: 2021-06-30 20:06
 */
@Mapper
public interface RecruitmentPlanMapper {

    List<RecruitmentPlanBO> listRecruitmentPlans(String account);

    List<RecruitmentPlanBO> listRecruitmentPlan();

    RecruitmentPlanBO getRecruitmentPlanById(int planId);

    RecruitmentPlanBO getRecruitmentPlanByName(String planName);

    int saveRecruitmentPlan(RecruitmentPlan recruitmentPlan);

    int updateRecruitmentPlan(RecruitmentPlan recruitmentPlan);

    int updateRecruitmentPlanStatus(RecruitmentPlan recruitmentPlan);

    int updateRecruitmentPlanNum(RecruitmentPlan recruitmentPlan);

    int deleteRecruitmentPlan(int planId);

}
